<%@ page pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="stylesheet" media="all" href="resources/css/style-index.css" />
    <link rel="shortcut icon" href="favicon.ico" />
    <title>Login - AirPi</title>
</head>
<body>
    <h1>Welcome to AirPi</h1>
    <form action="connection" method="POST">
        <input type="text" name="nickname" placeholder="Nickname" value="${nickname}" maxlength="10" required />
        <input type="password" name="password" placeholder="Password" required />
        <input type="submit" value="Login" />
    </form>
    <span class="err">${message_error}</span>
</body>
</html>